package com.xyang.demo.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author Stars-Of-Future-xYang
 * @version 1.0
 * @date 2021/3/19 13:45
 */
@Data
@Accessors(chain = true)
public class PageResult {

    private List data;
    private long total;

    public PageResult(List data, long total) {
        this.data = data;
        this.total = total;
    }
}
